//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//
// (C) Copyright 2006 Marvell International Ltd.
// All Rights Reserved
//
/******************************************************************************
**
**  COPYRIGHT (C) 2004 Intel Corporation.
**
**  This software as well as the software described in it is furnished under
**  license and may only be used or copied in accordance with the terms of the
**  license. The information in this file is furnished for informational use
**  only, is subject to change without notice, and should not be construed as
**  a commitment by Intel Corporation. Intel Corporation assumes no
**  responsibility or liability for any errors or inaccuracies that may appear
**  in this document or any software that may be provided in association with
**  this document. 
**  Except as permitted by such license, no part of this document may be 
**  reproduced, stored in a retrieval system, or transmitted in any form or by
**  any means without the express written consent of Intel Corporation. 
**
**  FILENAME:  xllp_lcd_cpu.h
**
**  PURPOSE:   Private header file for XLLP LCD controller. 
**
*******************************************************************************/

#ifndef __XLLP_LCD_CPU_H__
#define __XLLP_LCD_CPU_H__

#include "xllp_defs.h"

#include "xllp_clkmgr.h"
#include "xllp_lcd.h"

// Private API functions
void LCDSetupGPIOs(P_XLLP_LCD_T pXllpLCD);
void LCDInitController(P_XLLP_LCD_T pXllpLCD);
void LCDClearStatusReg(P_XLLP_LCD_T pXllpLCD);
void LCDEnableController(P_XLLP_LCD_T pXllpLCD);
void LCDSuspendController(P_XLLP_LCD_T pXllpLCD, int SuspendType);
void OverlayDMALength(P_XLLP_OVERLAY_T pXllpOverlay);
XLLP_STATUS_T MiniLCDEncodeRGB565(P_XLLP_MINI_LCD_T pXllpMiniLCD, 
								  XLLP_UINT32_T FrameSource, 
								  P_XLLP_UINT32_T pByteCount,
								  XLLP_UINT16_T	width,
								  XLLP_UINT16_T height);
#endif //XLLP_LCD
